import com.dev.su.filter.URLMatcher;
import com.dev.su.main.MainEntry;
import com.su.dev.current.DownloadTask;
import com.su.dev.current.SipderQuene;
import com.su.dev.current.SipderTask;

public class Main {
    public static void main(String args[]) {
////        System.out.println(html);
//        URLMatcher.getLinks(html);
        MainEntry.getIns().init();
        String html = URLMatcher.getHtml("http://news.cnr.cn/gjxw/gnews/20160125/t20160125_521222857.shtml");
        DownloadTask takTask = new DownloadTask("http://www.douban.com/");
        SipderTask task = new SipderTask(html);
        SipderQuene.getIns().addTask(task);
    }

}
